package com.qqt.csr.im.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qqt.csr.im.entity.SensitiveWordRepo;

import com.qqt.csr.im.vo.req.SensitiveWordPageQueryRepVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 敏感词库 Mapper 接口
 * @author yang hao
 */
@Mapper
public interface SensitiveWordRepoMapper extends BaseMapper<SensitiveWordRepo> {

    /**
     * 分页查询
     * @param page 分页对象
     * @param query 查询对象
     * @return 分页数据
     */
    IPage<SensitiveWordRepo> page(IPage<SensitiveWordRepo> page, @Param("query") SensitiveWordPageQueryRepVO query);

}